/**
 * Project Name:PayTradeMapper.java
 * File Name:PayTradeMapper.java
 * Date:2018/8/1 下午3:21
 * Copyright (c) 2018, zhang.xiangyu@foxmail.com All Rights Reserved.
*/
package com.meatball.base.pay.trade.dao;

import com.meatball.base.pay.trade.model.PayTrade;

import java.util.List;

/**
 * @Title: PayTradeMapper.java
 * @Description: todo(交易)
 * @Author 張翔宇
 * @Date 2018/8/1 下午3:21
 * @Version V1.0
 */
public interface PayTradeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PayTrade record);

    int insertSelective(PayTrade record);

    PayTrade selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PayTrade record);

    int updateByPrimaryKey(PayTrade record);

    /**
     * 列表
     * @param record
     * @return
     */
    List<PayTrade> selectList(PayTrade record);
}